<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- Copyright Microsoft Corporation. All Rights Reserved, 2002 -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>11_2_6-BF-01</title>
</head>
<body>
<div class="TestPurpose">Verify the functionality of the rowspan attribute for TD and TH.</div>
<div class="AssertionsTested">Test for assertion 11.2.6-6</div>
<div class='FilesTested'>File: 11_2_6-BF-01.html</div>
<pre style='border: 1px solid black; padding: 5px'>
<strong>Source</strong>
&lt;p&gt;In the following table, TD is used to specify table cells.&lt;/p&gt;
&lt;div&gt;The cell labeled &amp;quot;default&amp;quot; must span one row because no value is specified for the rowspan attribute, but 1 is the default value.&lt;/div&gt;
&lt;div&gt;The cell labeled &amp;quot;zero&amp;quot; must span THREE ROWS because the rowspan attribute is set to 0. The 0 value means that the cell spans all rows from the current row to the last row of the table section in which the cell is defined.&lt;/div&gt;
&lt;div&gt;The cell labeled &amp;quot;one&amp;quot; must span one row because the rowspan attribute is set to 1.&lt;/div&gt;
&lt;div&gt;The cell labeled &amp;quot;two&amp;quot; must span two rows because the rowspan attribute is set to 2.&lt;/div&gt;
&lt;div&gt;The cell labeled &amp;quot;three&amp;quot; must span three rows because the rowspan attribute is set to 3.&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table summary='summary' border=&quot;1&quot;&gt;
&lt;tr&gt;&lt;td&gt;row 1&lt;/td&gt;&lt;td&gt;default&lt;/td&gt;&lt;td rowspan=&quot;0&quot;&gt;zero&lt;/td&gt;
	&lt;td rowspan=&quot;1&quot;&gt;one&lt;/td&gt;&lt;td rowspan=&quot;2&quot;&gt;two&lt;/td&gt;
	&lt;td rowspan=&quot;3&quot;&gt;three&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;row 2&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;row 3&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;

&lt;p&gt;In the following table, TH is used to specify table cells.&lt;/p&gt;
&lt;div&gt;The cell labeled &amp;quot;default&amp;quot; must span one row because no value is specified for the rowspan attribute, but 1 is the default value.&lt;/div&gt;
&lt;div&gt;The cell labeled &amp;quot;zero&amp;quot; must span THREE ROWS because the rowspan attribute is set to 0. The 0 value means that the cell spans all rows from the current row to the last row of the table section in which the cell is defined.&lt;/div&gt;
&lt;div&gt;The cell labeled &amp;quot;one&amp;quot; must span one row because the rowspan attribute is set to 1.&lt;/div&gt;
&lt;div&gt;The cell labeled &amp;quot;two&amp;quot; must span two rows because the rowspan attribute is set to 2.&lt;/div&gt;
&lt;div&gt;The cell labeled &amp;quot;three&amp;quot; must span three rows because the rowspan attribute is set to 3.&lt;/div&gt;

&lt;table summary='summary' border=&quot;1&quot;&gt;
&lt;tr&gt;&lt;th&gt;row 1&lt;/th&gt;&lt;th&gt;default&lt;/th&gt;&lt;th rowspan=&quot;0&quot;&gt;zero&lt;/th&gt;
	&lt;th rowspan=&quot;1&quot;&gt;one&lt;/th&gt;&lt;th rowspan=&quot;2&quot;&gt;two&lt;/th&gt;
	&lt;th rowspan=&quot;3&quot;&gt;three&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;row 2&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;row 3&lt;/th&gt;&lt;/tr&gt;
&lt;/table&gt;
</pre>
<p>In the following table, TD is used to specify table cells.</p>
<div>The cell labeled &quot;default&quot; must span one row because no value is specified for the rowspan attribute, but 1 is the default value.</div>
<div>The cell labeled &quot;zero&quot; must span THREE ROWS because the rowspan attribute is set to 0. The 0 value means that the cell spans all rows from the current row to the last row of the table section in which the cell is defined.</div>
<div>The cell labeled &quot;one&quot; must span one row because the rowspan attribute is set to 1.</div>
<div>The cell labeled &quot;two&quot; must span two rows because the rowspan attribute is set to 2.</div>
<div>The cell labeled &quot;three&quot; must span three rows because the rowspan attribute is set to 3.</div>
<div><br /></div>
<div><br /></div>
<table summary='summary' border="1">
<tr><td>row 1</td><td>default</td><td rowspan="0">zero</td>
	<td rowspan="1">one</td><td rowspan="2">two</td>
	<td rowspan="3">three</td></tr>
<tr><td>row 2</td></tr>
<tr><td>row 3</td></tr>
</table>

<p>In the following table, TH is used to specify table cells.</p>
<div>The cell labeled &quot;default&quot; must span one row because no value is specified for the rowspan attribute, but 1 is the default value.</div>
<div>The cell labeled &quot;zero&quot; must span THREE ROWS because the rowspan attribute is set to 0. The 0 value means that the cell spans all rows from the current row to the last row of the table section in which the cell is defined.</div>
<div>The cell labeled &quot;one&quot; must span one row because the rowspan attribute is set to 1.</div>
<div>The cell labeled &quot;two&quot; must span two rows because the rowspan attribute is set to 2.</div>
<div>The cell labeled &quot;three&quot; must span three rows because the rowspan attribute is set to 3.</div>

<table summary='summary' border="1">
<tr><th>row 1</th><th>default</th><th rowspan="0">zero</th>
	<th rowspan="1">one</th><th rowspan="2">two</th>
	<th rowspan="3">three</th></tr>
<tr><th>row 2</th></tr>
<tr><th>row 3</th></tr>
</table>

</body>
</html>
